package com.zhijian.warehouse.manage.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import javax.validation.constraints.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 调拨产品明细表
 * @author Auto Generator
 * @date 2024-11-03 15:30:56
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "调拨产品明细表")
public class StoreAllotRecordProduct {
    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    private Long id;

    /**
     * 调拨单ID
     */
    @ApiModelProperty("调拨单ID")
    @NotNull(message = "调拨单ID不能为空")
    private Long storeAllotRecordId;

    /**
     * 产品ID
     */
    @ApiModelProperty("产品ID")
    @NotNull(message = "产品ID不能为空")
    private Long productId;

    /**
     * 调拨数目
     */
    @ApiModelProperty("调拨数目")
    @NotNull(message = "调拨数目不能为空")
    private BigDecimal storeCount;

    /**
     * 仓库ID
     */
    @ApiModelProperty("出库仓库ID")
    @NotNull(message = "出库仓库id不能为空")
    private Long warehouseOutId;

    /**
     * 库位ID
     */
    @ApiModelProperty("库位ID")
    @NotNull(message = "出库库位id不能为空")
    private Long warehouseLocationOutId;

    /**
     * 仓库ID
     */
    @ApiModelProperty("入库仓库ID")
    @NotNull(message = "入库仓库ID不能为空")
    private Long warehouseInId;

    /**
     * 库位ID
     */
    @ApiModelProperty("入库库位ID")
    private Long warehouseLocationInId;


    /**
     * 调拨产品状态
     */
    @ApiModelProperty("调拨产品状态 0 = 待调拨审核 ， 1 = 待出库 2 = 待入库 3 = 已完成")
    @Deprecated
    private Integer status;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @NotNull(message = "创建时间不能为空")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    @NotNull(message = "修改时间不能为空")
    private Date updateTime;
}
